package sicnu.cs.aps.common.enums;

/**
 * @author chengke
 * @version 1.0
 * @className ActivityTeamMemberInviteEnum
 * @description 邀请成员信息表中邀请类型对应的enum
 * @date 2022/5/31 10:39
 */
public enum ActivityTeamMemberInviteEnum implements BaseEnum{
    /**
     * 0,代表未知错误
     */
    UNKNOWN(0),

    /**
     * 1,代表邀请成为成员
     */
    INVITE_AS_MEMBER(1),

    /**
     * 2,代表邀请成为指导老师
     */
    INVITE_AS_TEACHER(2),

    /**
     * 3,代表邀请成为队伍队长
     */
    INVITE_AS_TEAM_LEADER(3),
    ;
    Integer state;

    ActivityTeamMemberInviteEnum() {
    }

    ActivityTeamMemberInviteEnum(Integer state) {
        this.state = state;
    }

    @Override
    public int getIndex() {
        return this.state;
    }
}
